package gagak.framework.web.paramresovler.requestbody;


import java.net.InetSocketAddress;
import java.security.Principal;

/*
 * 扩展信息，从http协议中获取更多数据
 */
public interface ServerHttpRequest extends HttpMessage, HttpRequest {

    Principal getPrincipal();

    /*
     * Return the address on which the request was received.
     */
    InetSocketAddress getLocalAddress();

    /*
     * Return the address of the remote client.
     */
    InetSocketAddress getRemoteAddress();


}
